<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>问道_用户中心_福建省职业经理服务行业协会</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <#meta name="Keywords" content="${keywords}"/>
    <#meta name="Description" content="${description}"/>
    <link rel="icon" type="image/x-icon" href="/static/farvirate.ico">
    <link type="text/css"  rel="stylesheet"  href="/static/layui/css/layui.css" media="all"/>
    <link type="text/css"  rel="stylesheet"  href="/static/css/base.css" />
    <link type="text/css"  rel="stylesheet"  href="/static/css/npmes.css" />
    <link type="text/css"  rel="stylesheet"  href="/static/css/user.css" />
    <link type="text/css"  rel="stylesheet"  href="/static/css/screen.css" />
    <script type="text/javascript" src="/static/js/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="/static/layui/layui.js"/>
    <script type="text/javascript" src="/static/js/common.js"></script>
    <script type="text/javascript" src="/static/js/search.js"></script>
    <!--<script type="text/javascript" src="/static/js/userAsk.js"/>-->
    <script type="text/javascript">
        layui.use(['layer','form'], function(){
            var layer = layui.layer;
            var form = layui.form;

            form.verify({
                username: function(value, item){ //value：表单的值、item：表单的DOM对象
                    if(!new RegExp("^[a-zA-Z0-9_\u4e00-\u9fa5\\s·]+$").test(value)){
                        return '姓名不能有特殊字符';
                    }
                    if(/(^\_)|(\__)|(\_+$)/.test(value)){
                        return '姓名首尾不能出现下划线\'_\'';
                    }
                    if(/^\d+\d+\d$/.test(value)){
                        return '姓名不能为数字';
                    }
                }
            });

            //监听提交
            form.on('submit(submitAsk)', function(data){
                /*layer.msg(JSON.stringify(data.field));
                return false;*/
                $.ajax({
                    url:'/user/ask',
                    method:'post',
                    data:data.field,
                    dataType:'JSON',
                    success:function(res){
                        $("#submitAsk").attr("disabled",true);
                        layer.msg("提问成功！谢谢您！！！");

                    },
                    error:function (data) {
                    }
                })
                return false;
            });
            // layer.msg('Hello World');
        });
    </script>
</head>

<body>
<!--top start -->
<#top />
<!--top over -->

<!--main start -->
<div class="bannerpage" style="background:url(/static/images/pagebanner3.jpg) no-repeat top center"></div>
<div class="pagetag">
    <div class="container"> <span><a href="/">首页</a> > <a href="#">用户中心</a> > 问道</span> </div>
</div>
<div class="container">
    <div class="pageleft">
        <div class="pageleftBody">
            <div class="leftTitle">问道</div>
            <div class="leftMenu">
                <ul>
                    <li><a href="/user/toAsk" class="on">我要提问</a></li>
                    <li><a href="/user/toSubmit">我要投稿</a></li>
                    <li><a href="http://cn.mikecrm.com/L3dFs6G"  target="_blank">问卷调查</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div class="pageright">
        <div class="pagerightBody">
            <div class="rightTitle">我要提问</div>
            <div class="rightBox">
                <div class="npmes">
                    <div class="user_ask">
                        <div class="ask_info"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在日常经营管理工作中，<b>您是否遇到困惑或棘手的问题？</b><br/>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;看到经营管理类的热点问题时，您是否也有自己的疑问急需解答？<br/>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;为了助力企业发展，为企业出资人和职业经理人在日常经营管理工作中提供实际有效的帮助，<b>我们在线征集关于企业经营管理过程中遇到的问题及难点，将对问题及难点进行整理、汇总及分类，选取具有代表性的话题开展针对性的答疑解惑，如小型论坛研讨、圆桌会议、行业大咖深度访谈等。如是现场活动，将诚邀您莅临参与。</b><br/>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;感谢您对职业经理人事业的关注与支持！ </div>
                        <div class="ask_input">

                            <form class="layui-form"  method="post" lay-filter="askForm">
                                <dl>
                                    <dt>姓名</dt>
                                    <dd>
                                        <input type="text" name="name" placeholder="请填入您的姓名！" lay-verify="required|username"/>
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>联系电话</dt>
                                    <dd>
                                        <input type="text" name="phone" placeholder="请填有效电话！" lay-verify="required|phone"/>
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>邮箱</dt>
                                    <dd>
                                        <input type="text" name="email" placeholder="请填入有效邮箱！" lay-verify="required|email" />
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>工作单位</dt>
                                    <dd>
                                        <input type="text" name="workunit" placeholder="请填写您的工作单位！" lay-verify="required" />
                                    </dd>
                                </dl>
                                <dl>
                                    <dt>职务</dt>
                                    <dd>
                                        <input type="text" name="position" placeholder="请填写您的职务！" lay-verify="required"/>
                                    </dd>
                                </dl>
                                <dl class="w100">
                                    <dt>我的需求</dt>
                                    <dd>
                                        <textarea name="requirement" placeholder="请填写您的需求！" lay-verify="required"></textarea>
                                    </dd>
                                </dl>
                                <div class="btnBar">
                                    <input type="submit" id="submitAsk"  value="提交" class="btn1" lay-submit lay-filter="submitAsk"/>
                                </div>
                            </form>

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!--main over -->

<!--footer start -->
<#foot />
<!--footer over -->


<!-- 用户注册 Start -->
<div class="sBox" id="sBox3">
    <div class="sBoxTitle"><span>用户注册</span></div>
    <div class="sBoxMain">
        <dl>
            <dt>昵称</dt>
            <dd><input type="text" name="niname" placeholder="请输入昵称！" /> </dd>
        </dl>
        <dl>
            <dt>性别</dt>
            <dd> <span><input type="radio" name="sex" />男</span> &nbsp; &nbsp; <span><input type="radio" name="sex" />女</span> </dd>
        </dl>
        <dl>
            <dt>手机</dt>
            <dd><input type="text" name="mobile" maxlength="11" placeholder="请输入常用手机号码！" /> </dd>
        </dl>
        <dl>
            <dt>验证码</dt>
            <dd><input type="text" name="code"  placeholder="请输入验证码！" /></dd>
        </dl>
        <dl>
            <dt>密码</dt>
            <dd><input type="pasword" name="password" placeholder="请输入登录密码！" />  </dd>
        </dl>
        <dl>
            <dt>确认密码</dt>
            <dd><input type="pasword" name="password" placeholder="请确认登录密码！" />  </dd>
        </dl>
        <div class="btnBar">
            <input type="button" class="btn2" value="修改"/>
        </div>
    </div>
    <div class="showclose"></div>
</div>


<!-- 用户资料修改 End -->

<!-- 用户登录 Start -->
<div class="sBox" id="sBox4">
    <div  class="loginClose">
        <a  class="showclose"></a>
    </div>
    <div class="sBoxTitle"><span>用户登录</span></div>
    <div class="sBoxMain">
        <dl>
            <dt>手机号</dt>
            <dd><input type="text"  maxlength="11" name="mobile" placeholder="您注册时的手机号！" /> </dd>
        </dl>
        <dl>
            <dt>密码</dt>
            <dd><input type="text" name="mobile"  placeholder="请输新密码！" /> </dd>
        </dl>

        <div class="btnBar">
            <input type="button" class="btn2" value="登录" onClick="window.location.href='user_message.html'" />
        </div>
        <div class="showLink">
            <a href="#" id="userreg">新用户注册</a>
            <a href="#">忘记密码</a>
        </div>

    </div>
    <div class="showclose"></div>
</div>


<!-- 用户登录 End -->
<div class="showBg"></div>


</body>
</html>
